package datahelper

type DataHelper struct {
	dataMapping map[string]string
}

var dataHelperInstance *DataHelper

func init() {
	dataHelperInstance = &DataHelper{
		dataMapping: map[string]string{},
	}
}

func GetInstance() *DataHelper {
	return dataHelperInstance
}

func (this *DataHelper) SetData(key string, value string) {
	this.dataMapping[key] = value
}

func (this *DataHelper) GetData(key string) (value string) {
	 value = this.dataMapping[key]
	 return
}
